package org.example.project3.Service;

import org.example.project3.DTO.RegisterDTO;
import org.example.project3.DTO.UserupdateDTO;
import org.example.project3.Entity.User;
import org.example.project3.VO.UserVO;

public interface UserService {
    Integer add(RegisterDTO dto);

    User login(RegisterDTO dto) throws Exception;

    UserVO getUserstatistics();

    void update(UserupdateDTO dto);
}
